package com.ermao.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Ermao
 * Date: 2021/8/31 1:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_account")
public class Account {

	@TableId(type = IdType.AUTO)
	private Integer accountId;

	private Integer userId;
	private Double accountAmount;
	private Integer accountType;
	private Integer categoryId;
	private Date accountTime;
	private String accountComment;

	private Integer deleted;

	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
}
